﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Treasuries.Collections
{
    public interface ICollectionAppService : IApplicationService
    {
        Task<CollectionDto> GetAsync(Guid id);

        Task<PagedResultDto<CollectionDto>> GetListAsync(CollectionPagedResultRequestDto filter);

        Task<CollectionDto> CreateAsync(CollectionCreateDto input);

        Task<CollectionDto> UpdateAsync(CollectionUpdateDto input);

        Task DeleteAsync(Guid id);
    }
}
